home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
CMApplication.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
6KB
|
183 lines
/*
File: CMApplication.idl
Contains: Color Matching Interfaces
Version: Technology: ColorSync 2.0
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __CMAPPLICATION_IDL__
#define __CMAPPLICATION_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __QUICKDRAW_IDL__
#include <Quickdraw.idl>
#endif
#ifndef __FILES_IDL__
#include <Files.idl>
#endif
#ifndef __PRINTING_IDL__
#include <Printing.idl>
#endif
#ifndef __CMICCPROFILE_IDL__
#include <CMICCProfile.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/* Macintosh 68K trap word */
/* PicComment IDs */
/* PicComment selectors for cmComment */
/* Defines for version 1.0 CMProfileSearchRecord.fieldMask */
/* Defines for version 2.0 CMSearchRecord.searchMask */
/* Result codes */
/* deviceType values for ColorSync 1.0 Device Profile access */
/* Commands for CMFlattenUPP(...) */
/* Flags for PostScript-related functions */
/* Abstract data type for memory-based Profile */
typedef OpaquePtr CMProfileRef;
/* Abstract data type for Profile search result */
typedef OpaquePtr CMProfileSearchRef;
/* Abstract data type for BeginMatching(...) reference */
typedef OpaquePtr CMMatchRef;
/* Abstract data type for ColorWorld reference */
typedef OpaquePtr CMWorldRef;
/* Caller-supplied flatten function */
typedef OpaquePtr CMFlattenProcPtr;
typedef OpaquePtr CMFlattenUPP;
/* Caller-supplied progress function for Bitmap & PixMap matching routines */
typedef OpaquePtr CMBitmapCallBackProcPtr;
typedef OpaquePtr CMBitmapCallBackUPP;
/* Caller-supplied filter function for Profile search */
typedef OpaquePtr CMProfileFilterProcPtr;
typedef OpaquePtr CMProfileFilterUPP;
typedef long CMError;
/* For 1.0 and 2.0 profile header variants */
/* CMAppleProfileHeader */
typedef SOMLargeStruct CMAppleProfileHeader; /* Derived from a struct of 192 bytes in size */
/* Param for CWConcatColorWorld(...) */
typedef SOMLargeStruct CMConcatProfileSet; /* Derived from a struct of 8 bytes in size */
/* ColorSync color data types */
typedef SOMLargeStruct CMRGBColor; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct CMCMYKColor; /* Derived from a struct of 8 bytes in size */
typedef SOMLargeStruct CMCMYColor; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct CMHLSColor; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct CMHSVColor; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct CMLabColor; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct CMLuvColor; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct CMYxyColor; /* Derived from a struct of 6 bytes in size */
typedef SOMTwoByteStruct CMGrayColor; /* Derived from a struct of 2 bytes in size */
typedef SOMLargeStruct CMMultichannel5Color; /* Derived from a struct of 5 bytes in size */
typedef SOMLargeStruct CMMultichannel6Color; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct CMMultichannel7Color; /* Derived from a struct of 7 bytes in size */
typedef SOMLargeStruct CMMultichannel8Color; /* Derived from a struct of 8 bytes in size */
typedef SOMFourByteStruct CMNamedColor; /* Derived from a struct of 4 bytes in size */
typedef SOMLargeStruct CMColor; /* Derived from a struct of 90 bytes in size */
typedef SOMLargeStruct CMProfileSearchRecord; /* Derived from a struct of 76 bytes in size */
typedef OpaquePtr CMProfileSearchRecordPtr; /* Substituted OpaquePtr for ``CMProfileSearchRecord*'' */
typedef OpaquePtr CMProfileSearchRecordHandle; /* Substituted OpaquePtr for ``CMProfileSearchRecordPtr*'' */
/* Search definition for 2.0 */
typedef SOMLargeStruct CMSearchRecord; /* Derived from a struct of 44 bytes in size */
/* GetCWInfo structures */
typedef SOMLargeStruct CMMInfoRecord; /* Derived from a struct of 8 bytes in size */
typedef SOMLargeStruct CMCWInfoRecord; /* Derived from a struct of 20 bytes in size */
typedef unsigned long CMBitmapColorSpace;
typedef SOMLargeStruct CMBitmap; /* Derived from a struct of 32 bytes in size */
/* Classic Print Manager Stuff */
typedef SOMLargeStruct CMFileLocation; /* Derived from a struct of 70 bytes in size */
typedef SOMFourByteStruct CMHandleLocation; /* Derived from a struct of 4 bytes in size */
typedef SOMFourByteStruct CMPtrLocation; /* Derived from a struct of 4 bytes in size */
typedef SOMLargeStruct CMProfLoc; /* Derived from a struct of 78 bytes in size */
typedef SOMLargeStruct CMProfileLocation; /* Derived from a struct of 72 bytes in size */
/* Profile file and element access */
/* Low-level matching functions */
/* Bitmap matching */
/* Quickdraw-specific matching */
/* System Profile access */
/* External Profile Management */
/* Utilities */
/* PS-related */
/* ColorSync 1.0 functions which have parallel 2.0 counterparts */
/* ProfileResponder functions */
#if OLDROUTINENAMES
/* constants */
typedef CMFlattenProcPtr CMFlattenProc;
typedef CMBitmapCallBackProcPtr CMBitmapCallBackProc;
typedef CMProfileFilterProcPtr CMProfileFilterProc;
/* 1.0 Error codes, for compatibility with older applications. 1.0 CMM's may return obsolete error codes */
/* types */
typedef CMCMYKColor CMYKColor;
typedef CMWorldRef CWorld;
typedef OpaquePtr CMGamutResult; /* Substituted OpaquePtr for ``long*'' */
/* functions */
#endif
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
/* PrGeneral parameter blocks */
typedef SOMLargeStruct TEnableColorMatchingBlk; /* Derived from a struct of 14 bytes in size */
typedef SOMLargeStruct TRegisterProfileBlk; /* Derived from a struct of 14 bytes in size */
#endif
#endif /* __SOMIDL__ */
#endif /* __CMAPPLICATION_IDL__ */